package com.cbs.android.component.applicationutils.network;


import com.cbs.android.component.applicationutils.Global;
import com.cbs.android.component.network.Request;

/**
 * Created by broche on 11/19/15.
 */
public class CBSRequest extends Request {
    public static final String CBSAPPID = "CBSAPPID";
    public static final String VERSIONID = "VERSIONID";

    public CBSRequest(String url) {
        super(url);
        this.addHeader(CBSAPPID, Global.getAppId() + "")
                .addHeader(VERSIONID, Global.getVersionId() + "");
    }

    public CBSRequest(CBSRequest request) {
        super(request);
        this.header(CBSAPPID, Global.getAppId() + "")
                .header(VERSIONID, Global.getVersionId() + "");
    }
}
